import 'babel-polyfill';
import App from './App.vue'
import $load from './frame/lib/load.js';
import $F from './frame/common/func.js';
import i18n from './frame/lang/index.js'
/**
 * QK 框架启动
 */
const Vue = $load.load()

import Vant from 'vant';
import 'vant/lib/index.css';
Vue.use(Vant);

$F.network(()=>{
	new Vue({
		
		render: h => h(App),
		router: $load.router,
		store: $load.store,
		i18n,
		//事件总线
		beforeCreate () {
		  Vue.prototype.$bus = this;
		}
	}).$mount('#app')
})